package com.szm.feignserver.service;

import com.szm.feignserver.entity.Product;
import org.springframework.stereotype.Component;

@Component
public class ProductServiceFallback implements ProductService {
    public Product getProduct() {
        Product product=new Product();
        product.setProductName("Hystrix开启!");
        return product;
    }
}
